package org.exhaust.barbecue.test.action;

import org.exhaust.barbecue.ActionContext;
import org.exhaust.barbecue.action.AbstractServiceAction;
import org.exhaust.barbecue.test.model.AddUserRequest;
import org.exhaust.barbecue.test.model.AddUserResponse;
import org.springframework.stereotype.Component;

@Component("AddUserCacheAction")
public class AddUserCacheAction extends AbstractServiceAction<AddUserRequest, AddUserResponse> {
    @Override
    protected boolean service(AddUserRequest request, AddUserResponse response, ActionContext context) {
        System.out.println("remove cache");
        return true;
    }
}
